package com.liangfeng.readnews;

import com.liangfeng.readnews.bean.NewsBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by mzf on 2017/4/21.
 */

public interface NewsService {
    @FormUrlEncoded
    @POST("news/get")
    Observable<NewsBean> getNews(@FieldMap HashMap<String, String> params);
}
